-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#464 Improve error message when program is missing arm of branching statement #645
#464 Improve error message when program is missing arm of branching statement #645
Conversation
src/lib.rs
Outdated
@@ -197,6 +198,7 @@ pub fn readback_hvm_net( | |||
let mut diags = Diagnostics::default(); | |||
let net = hvm_to_net(net); | |||
let mut term = net_to_term(&net, book, labels, linear, &mut diags); | |||
#[allow(clippy::mutable_key_type)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did this start to flag after a clippy update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so, with rust 1.80
@@ -14,6 +14,7 @@ use diagnostics::{Diagnostics, DiagnosticsConfig, ERR_INDENT_SIZE}; | |||
use net::hvm_to_net::hvm_to_net; | |||
|
|||
pub mod diagnostics; | |||
#[allow(clippy::mutable_key_type)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a comment explaining why this is necessary.
Eg. "Name
is implemented with inner mutability so it triggers this warning, but we know it works."
No description provided.